﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DTO
{
    public class AddGoodsDTO
    {
        private int _AddID;

        public int AddID
        {
            get { return _AddID; }
            set { _AddID = value; }
        }
        private DateTime _Date;

        public DateTime Date
        {
            get { return _Date; }
            set { _Date = value; }
        }
        private float _TotalAddCost;

        public float TotalAddCost
        {
            get { return _TotalAddCost; }
            set { _TotalAddCost = value; }
        }
        private string _SupplierName;

        public string SupplierName
        {
            get { return _SupplierName; }
            set { _SupplierName = value; }
        }
        private string _Address;

        public string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }
        private string _Phone;

        public string Phone
        {
            get { return _Phone; }
            set { _Phone = value; }
        }
        public AddGoodsDTO(int addid , DateTime date , float totaladdcost , string suppliername, string address , string phone)
        {
            _AddID = addid;
            _Date = date;
            _TotalAddCost = totaladdcost;
            _SupplierName = suppliername;
            _Address = address;
            _Phone = phone;
        }

        public AddGoodsDTO()
        {
            // TODO: Complete member initialization
        }
    }
}
